<template>
  <div>
    <!--<use-platform-config-->
    <!--  title="短信配置"-->
    <!--  config-key="system.package.sms.sync"-->
    <!--  @change="use_platform=$event"-->
    <!--/>-->
    <!--<page-form v-if="use_platform === 0" :x-uri="uri" :x-tabs="tabs" save-btn-text="保存" :reset-btn-text="false" />-->
    <page-form :x-uri="uri" :x-tabs="tabs" save-btn-text="保存" :reset-btn-text="false" />
  </div>
</template>

<script>
import PageForm from '@public/template/page_form.vue';
// import UsePlatformConfig from '@/components/use-platform-config'

export default {
  components: {
    PageForm
    // UsePlatformConfig
  },
  data() {
    return {
      uri: 'admin/system/package/sms/verify',
      tabs: [
        {
          title: '短信组件',
          uri: '/system/package/sms',
          meta: {
            permission: 'system.package.sms'
          }
        },
        {
          title: '验证码配置',
          uri: '/system/package/sms/verify',
          meta: {
            permission: 'system.package.sms'
          }
        }
      ],
      use_platform: 1
    };
  },
  mounted() {
    this.$store.dispatch('setLoading', 0);
  }
};
</script>
